package com.lmj.mybatisPlus.entry.vo;

import com.lmj.mybatisPlus.constant.EmployeeEnumType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Map;

/**
 * 功能描述:
 *
 * @author: 李明杰
 * @date: 2021/12/3 17:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeVsUserVO {
    /**
     * employee表
     */
    private Integer id;
    private String lastName;
    private String email;
    private EmployeeEnumType gender;
    private Integer departmentId;
    private Map<String, String> contact;

    /**
     * User表
     */
    private Integer userId;//注解Alias("xxx")可以解决属性映射
    private String name;
    private String pwd;
    private Integer version;
    private Integer valid;
    private Date createTime;
    private Date updateTime;
}
